#home {
  header {
    background: #9b0008;
    padding: 15px;
    padding-bottom: 0;
    overflow: hidden;
  }

  #vap_card {
    display: flex;
    justify-content: space-between;
    position: relative;
    background-image: url(https://static.mythinkcar.com/img/vip_pay/vip_bg.png);
    background-size: 100% 100%;
    transform: translateY(20px);
    padding: 15px;

    .left {
      max-width: calc(100% - 120px);
      margin-bottom: 10px;

      .text {
        width: 120px;
      }

      p {
        // white-space: pre;
        margin-top: 15px;
        color: #995226;
        line-height: 1.5;

      }
    }

    .medal {
      width: 140px;
      transform: translateX(15px);

      img {
        height: auto;
      }
    }
  }

  main {
    background: #f5f5f5;
    padding: 15px;
  }

  .adm-tabs {
    --active-line-color: #901119;
    --active-title-color: #a42a31;
  }

  .card_wrap {
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;

    .normal {
      width: calc(50% - 8px);
      text-align: center;
      border-radius: 8px;
      box-sizing: border-box;
      position: relative;
      padding: 20px 10px;

      .label {
        position: absolute;
        color: #fff;
        border-radius: 8px 0px 8px 0px;
        background: linear-gradient(135deg,
            rgba(255, 160, 26, 1) 0%,
            rgba(255, 121, 26, 1) 100%);
        font-size: 12px;
        padding: 2px 8px;
        left: -1px;
        top: -1px;

        &:empty {
          padding: 0;
        }
      }

      .title {
        font-size: 16px;
        font-weight: bold;
      }

      .price {
        color: #b50009;
        margin: 20px 0;

        span {
          font-size: 28px;
          font-weight: bold;

          &:first-child {
            font-size: 18px;
          }
        }
      }

      .account_price {
        font-size: 12px;
        color: #666666;

        .original_account {
          text-decoration: line-through;
        }
      }
    }

    .unselected {
      background: #fff;
    }

    .selected {
      background: #f7e5e6;
      border: 1px solid #b50009;
    }
  }

  .tip {
    border-radius: 8px;
    background: rgba(244, 227, 201, 0.5);
    color: #b36115;
    font-size: 14px;
    padding: 15px;
    line-height: 1.4;
  }

  .behefit_list {
    margin-top: 15px;
    margin-bottom: 140px;

    .title {
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 6px;
    }

    ul {
      background: #fff;
      padding: 15px;
      border-radius: 8px;

      li {
        margin-bottom: 15px;
        align-items: flex-start;

        &:last-child {
          margin-bottom: 0;
        }

        .right {
          flex: 1;
          margin-left: 15px;

          .title {
            font-size: 14px;
          }

          .content {
            font-size: 12px;
            color: #666666;
          }
        }
      }
    }
  }

  footer {
    .pay {
      border-top: 1px solid #e6e6e6;
      box-shadow: 0px -8px 16px rgba(0, 0, 0, 0.06);
      position: fixed;
      left: 0;
      background: #fff;
      box-sizing: border-box;
      width: 100%;
      padding: 15px;
      padding-bottom: 35px;
      bottom: 0;

      .trial_vip {
        font-size: 12px;
        color: #666666;
        margin-bottom: 15px;

        .adm-checkbox {
          --font-size: 12px;
          --icon-size: 18px;
        }
        .adm-checkbox-checked {
          .adm-checkbox-icon {
      
            color: #fff;
            border: none;
      
            svg {
              background: #9c0008;
              border-radius: 50%;
            }
          }
        }
      }
    }
  }

  #deviceList {
    .adm-list-body {
      background: none;
    }

    .adm-list-item {
      --prefix-width: 40px;
      --align-items: center;
      --prefix-padding-right: 10px;
      padding: 0px 10px;
      border-radius: 8px;
      margin-bottom: 8px;
      --padding-right:5px;

      .device_info {
        font-size: 12px;

        .title {
          font-weight: bold;
          font-size: 14px;
        }

        .sn {
          color: #666666;
        }
      }
    }



    .device_popup {
      border-top-left-radius: 8px;
      border-top-right-radius: 8px;
      background: #f6f6f6;
      box-sizing: border-box;


      header {
        background: none;

        p {
          text-align: center;
          font-weight: bold;
          color: #292929;
          font-size: 16px;
        }

        .close_icon {
          color: #404040;
          background: none;
        }
      }
    }
  }
}

.pay_popup {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 15px;
  background: #f6f6f6;
  box-sizing: border-box;

  header {
    p {
      text-align: center;
      font-weight: bold;
      color: #292929;
      font-size: 16px;
    }

    .close_icon {
      color: #404040;
      background: none;
    }
  }

  main {
    padding-top: 15px;

    ul {
      li {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;

        span {
          font-size: 13px;
          color: #333333;

          &:last-child {
            font-size: 15px;
            color: #333333;
            font-weight: bold;
          }
        }
      }
    }
  }

  footer {
    .pay_btn {
      background: #9b0008;
      color: #fff;
      padding: 12px;
      border-radius: 8px;
    }
  }
}